/**
 * admin.css
 */

ul {
  margin-top: 0;
}
.am-topbar-nav > li.am-active > a::after{border-bottom-color: #f8f8f8;}
.admin-icon-yellow {
  color: #ffbe40;
}

.admin-header {
  font-size: 1.4rem;
  margin-bottom: 0;
  background: #10A0EA;
  color: #ffffff;
  z-index: 2000;
}

.admin-header-list li a{color: #ffffff;}
.admin-header-list li a:hover,.admin-header-list li a:active,.admin-header-list li a:focus,.am-active a{color: #666666;}
.am-topbar-nav > li.am-active > a, .am-topbar-nav > li.am-active > a:hover, .am-topbar-nav > li.am-active > a:focus{color: #ffffff;}

.admin-header-list a:hover :after {
  content: none;
}

.admin-main {
  background: #f3f3f3;
}

.admin-menu {
  position: fixed;
  bottom: 60px;
  right: 20px;
}

.admin-sidebar {
  width: 240px;
  min-height: 100%;
  float: left;
  border-right: 1px solid #cecece;
}

.admin-sidebar-list {
  margin-bottom: 0;
}

.admin-sidebar-list li a {
  color: #5c5c5c;
  padding-left: 24px;
}

.admin-sidebar-list li:first-child {
  border-top: none;
}

.admin-sidebar-sub {
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 16px 8px -15px #e2e2e2 inset;
  background: #ececec;
  padding-left: 24px;
  webkit-transition: 1s; -moz-transition:1s; -ms-transition:1s; transition: 1s;
}

.admin-sidebar-sub li:first-child {
  border-top: 1px solid #dedede;
}

.admin-sidebar-panel {
  margin: 10px;
}
.subitem{list-style: none;}

.admin-content {
  width: auto;
  overflow: hidden;
  height: 100%;
  background: #fff;
}

@media only screen and (min-width: 641px) {
  .admin-sidebar {
    display: block;
    position: static;
    background: none;
  }

  .admin-offcanvas-bar {
    position: static;
    width: auto;
    background: none;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .admin-offcanvas-bar:after {
    content: none;
  }
}

@media only screen and (max-width: 640px) {
  .admin-sidebar {
    width: inherit;
  }

  .admin-offcanvas-bar {
    background: #f3f3f3;
  }

  .admin-offcanvas-bar:after {
    background: #BABABA;
  }

  .admin-sidebar-list a:hover, .admin-sidebar-list a:active{
    -webkit-transition: background-color .3s ease;
    -moz-transition: background-color .3s ease;
    -ms-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
    background: #E4E4E4;
  }

  .admin-content-list li {
    padding: 10px;
    border-width: 1px 0;
    margin-top: -1px;
  }

  .admin-content-list li:first-child {
    border-top: none;
  }

  .admin-content-list li:last-child {
    border-bottom: none;
  }

  .admin-form-text {
    text-align: left !important;
  }

}

/*
* user.html css
*/
.user-info {
  margin-bottom: 15px;
}

.user-info .am-progress {
  margin-bottom: 4px;
}

.user-info p {
  margin: 5px;
}

.user-info-order {
  font-size: 1.4rem;
}

/*
* errorLog.html css
*/

.error-log .am-pre-scrollable {
  max-height: 40rem;
}

/*
* table.html css
*/

.table-main {
  font-size: 1.4rem;
  padding: .5rem;
}

.table-main button {
  background: #fff;
}

.table-check {
  width: 30px;
}

.table-id {
  width: 50px;
}

@media only screen and (max-width: 640px) {
  .table-select {
    margin-top: 10px;
    margin-left: 5px;
  }
}

/*
gallery.html css
*/

.gallery-list li {
  padding: 10px;
}

.gallery-list a {
  color: #666;
}

.gallery-list a:hover {
  color: #3bb4f2;
}

.gallery-title {
  margin-top: 6px;
  font-size: 1.4rem;
}

.gallery-desc {
  font-size: 1.2rem;
  margin-top: 4px;
}

/*
 404.html css
*/

.page-404 {
  background: #fff;
  border: none;
  width: 200px;
  margin: 0 auto;
}
.data-table{
    margin-top: 20px;
}
.header-title {border-bottom: 1px solid #dedede; margin-bottom: 10px;}
.header-title h2{margin-top: 1.6rem;}


/* 授权编辑页 */
.checkmod {
    margin-bottom: 20px;
    border: 1px solid #ebebeb;
}
.checkmod dt {
    padding-left: 10px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    border-bottom: 1px solid #ebebeb;
    background-color: #ECECEC;
}
.checkmod dd {
    padding-left: 10px;
    line-height: 30px;
}
.checkmod dd .checkbox {
    margin: 0 10px 0 0;
}
.checkmod dd .divsion {
    margin-right: 20px;
}

/* 授权编辑页 */
.checkmod {
    margin-bottom: 20px;
    border: 1px solid #ebebeb;
}
.checkmod dt {
    padding-left: 10px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    border-bottom: 1px solid #ebebeb;
    background-color: #ECECEC;
}
.checkmod dd {
    padding-left: 10px;
    line-height: 30px;
}
.checkmod dd .checkbox {
    margin: 0 10px 0 0;
}
.checkmod dd .divsion {
    margin-right: 20px;
}

/* 拖动排序列表 */
.dragsort {

}
.edit_sort {
    display: inline-block;
    border:1px solid #cdcdcd;
    color: #404040;
    line-height: 35px;
    width: 30%;
    height: 376px;

}
.edit_sort span {
    background: #EEEEEE;
    width: 100%;
    display: inline-block;
    font-weight: bold;
    text-indent: 10px;
    border-bottom: 1px solid #cdcdcd;
    margin-bottom:5px;
}
.edit_sort ul {
    padding: 0 5px;
    overflow-y:scroll;
    height: 330px;
}
.edit_sort_l {
    float: left;
    margin-right: 20px;
}
.tab2 p {
    margin-bottom: 10px;
    font-weight: bold;
    text-indent: 15px;
}
.dragsort li {
    margin-bottom: 5px;
    padding: 0 6px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #eee;
    background-color: #fff;
  overflow: hidden;
}
.dragsort li em {
    font-style: normal;
}
.dragsort li b {
    display: none;
    float: right;
    padding: 0 6px;
    font-weight: bold;
    color: #000;
}
.dragsort li:hover b {
    display: block;
}
.dragsort .draging-place {
    border-style: dashed;
    border-color: #ccc;
}

/* = 分类管理树形菜单（目前只支持3级）
------------------------------------------ */
.category {
  margin: 10px 0;
  border-bottom-width: 0;
  background-color: #fff;
}
.category .hd {
  font-weight: bold;
  border-bottom: 1px solid #d4d4d4;
  color:#fff;
  background-color: #353535;
}
.category .cate-item dt {
  border-bottom: 1px solid #E7E7E7;
  font-weight: 100;
}
.category dl,
.category dd,
.category input {
  margin: 0;
}
.category .check,
.category .fold,
.category .order,
.category .name {
  float: left;
  height: 35px;
  line-height: 35px;
}
.category .opt {
  float: right;
  width: 120px;
  height: 35px;
  line-height: 35px;
  text-align: center;
}
.opt-btn {
  float: right;
  margin: 5px 10px 0 0;
}
.category .check {
  width: 40px;
  text-align: center;
}
.category .fold {
  width: 50px;
  text-align: center;
}
.category .fold i {
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 17px;
  background-repeat: no-repeat;
}
.category .fold .icon-fold,
.category .fold .icon-unfold {
  cursor: pointer;
  background: url(../images/bg_icon.png) no-repeat;
}
.category .fold .icon-fold {
  background-position: -100px -25px;
}
.category .fold .icon-unfold {
  background-position: -125px -25px;
}
.category .order,
.category .order input {
  text-align: center;
}
.category .order {
  width: 90px;
}
.category .order input {
  margin-bottom: 2px;
  width: 40px;
}
.category .name input {
  margin-bottom: 2px;
}
.category .add-sub-cate {
  margin-left: 10px;
}
.category .add-sub-cate:hover {
  text-decoration: none;
  border-bottom: 0 none;
}
.category .btn-mod {
  margin-left: 15px;
}
.category .root {
  font-weight: bold;
}
.category .tab-sign {
  display: inline-block;
  margin-left: 15px;
  height: 21px;
  vertical-align: middle;
  background-image: url(../images/tab_sign.png);
  background-repeat: no-repeat;
}
.category .name .msg {
  vertical-align: top;
  font-weight: normal;
}
.category .name .error {
  color: #B94A48;
}
.category .name .success {
  color: #468847;
}
/* 顶级分类 */
.category > dl > dt .tab-sign {
  display: none;
}

/* 二级分类 */
.category > dl > dd > dl > dt .tab-sign {
  width: 55px;
  background-position: 0 0;
}
.category > dl > dd > dl:last-child > dt .tab-sign {
  background-position: -55px 0;
}

/* 三级分类 */
.category > dl > dd > dl > dd > dl > dt  .tab-sign {
  width: 110px;
  background-position: 0 -30px;
}
.category > dl > dd > dl > dd > dl:last-child > dt .tab-sign {
  background-position: 0 -60px;
}

.category > dl > dd > dl:last-child > dd > dl > dt .tab-sign {
  background-position: 0 -90px;
}
.category > dl > dd > dl:last-child > dd > dl:last-child > dt .tab-sign {
  background-position: 0 -120px;
}
.category > dl > dd > dl:last-child > dd > dl:last-child > dt .add-sub-cate{
    display: none;
}
.category input{
  height: 30px;
  line-height: 30px;
}

.footer{background: #ffffff; z-index: 2000; text-align: center;}